package main

import (
	"fmt"
	"github.com/gogf/gf/frame/g"
	"github.com/gogf/gf/util/gconv"
	q2 "github.com/gogf/gfer/app/model/question"
	"github.com/gogf/gfer/app/service/question"
)

func main() {
	e := question.ParamSave{
		Entity: q2.Entity{
			Id:       0,
			Key:      "",
			Cid:      0,
			Uid:      1111,
			AdoptId:  0,
			Title:    "",
			Content:  "",
			Sort:     0,
			Brief:    "",
			Thumb:    "",
			Tags:     "",
			Referer:  "",
			Status:   0,
			View:     0,
			Zan:      0,
			Cai:      0,
			CreateAt: nil,
			UpdateAt: nil,
		},
		//Uid:     1,
		//Title:   "tt",
		//Content: "cc",
	}
	fmt.Println(e.Uid)
	g.Dump(gconv.Map(e))
	g.Dump(gconv.MapDeep(e))
}
